<div id="mc">
	<h2>Certification & Authorization Record(s) for Candidate > <a href="resumeaction.php?view=op&id={$reid}">{$rename}</a></h2>
	<p>See your Candidate’s C&A Status below.  You may only submit your candidate to a job if they have agreed to be submitted.  If the Candidate’s C&A Status is ‘Yes’, then that means your candidate has agreed, therefore you may submit them.  If you see a ‘No’ status, then you may try to resend your invitation up to three times.  Each time you click on the ‘Resend’ link it will send out an invitation to your candidate.  
 </p>
</div>
<div id="rc">
	<div class="blockBlue">
		<div class="head"></div>
		<div class="content">
			<div id="loginboxx">
				<div class="title">Welcome, {$uname}!</div>
				<p><table cellpadding="2" cellspacing="0" border="0"><tr><td><a href="settings.php">My Account</a></td><td><a href="#" onclick="return ajax_out()" >Sign Out</a></td><td><div id="loadp"></div></td></tr></table></p>
				</p>
			</div>
		</div>
		<div class="bottom"></div>
	</div>
	<div class="blockSteal">
			<div class="title3"><a href="#">Join a Chat</a></div>
			<div class="content">
				<ul>
					<li><a href="findchats.php">Skype Chat</a></li>
					<li><a href="findwebinars.php">Webinars</a></li>
				</ul>
			</div>
		</div>
</div>
<div id="rightside">
{literal}
<script>
	function ckeckapplicant(cp){
	     var js = null;
	     var cp;
	     for(var i=0;i<document.getElementsByName('jid').length;i++){
	         if(document.getElementsByName('jid')[i].checked == true){
		   js  = document.getElementsByName('jid')[i].value ;
		 }
	     }
	    if(js==null){
	      alert("You need to first select a job.");
	      return false; 
	    }
	}
</script>
{/literal}
<form action="submitapplicant.php" method="POST" onsubmit="return ckeckapplicant();">
	<p style="margin:0;padding:10px 0 0 0"> 
		<table width="100%" border="0" cellpadding="4" cellspacing="1">
		   <tr>
		   <td align="right"><input name="submit" value="Go To Submit Candidate" type="submit" class="button-secondary"></td></tr>
		</table></p>
	<hr />
	{$page}
	  <table width="100%" border="0" cellpadding="4" cellspacing="1" class="tableGrey">
              <tr>
	        <th>ER Job Req#</th>
                <th width="20%">Company Name</th>
	        <th>Valid By</th>
		<th>Job Fill Status</th>
                <th>Job Title</th>
		<th width="12%">Invitation Sent</th>
		<th width="12%">Response</th>
		<th>C&A Status</th>
		<th>Select</th>
              </tr>
	      {section name=custom loop=$invlist}
              <tr class="hotline {cycle values="odd,even"}">
	       <td>{$invlist[custom].in_jobid}</td>
	        <td>{$invlist[custom].in_epname}</td>
		 <td>{$invlist[custom].in_vdate}</td>
		  <td>{if $invlist[custom].in_jobstatus eq "-- SELECT ALL --"}N/A{else}{$invlist[custom].in_jobstatus}{/if}</td>
		   <td>{$invlist[custom].in_jobtitle}</td>
		    <td>{$invlist[custom].in_regtime}</td>
		     <td>{if $invlist[custom].in_acttime eq "01/01/1970 08:00:00 AM"}N/A{else}{$invlist[custom].in_acttime}{/if}</td>
		      <td>{if $invlist[custom].in_status==1}
			<font color="green">Yes</font>
			{elseif $invlist[custom].in_status==2}
			<font>No</font>
			{else}
			<font color="orange">Pending</font>
			{if $invlist[custom].in_resend < 3}
			<br>
			<a href="#"
			onclick="enetconfirm('Sure you want to resend C&A invitation?  ','invitemail.php?jid={$invlist[custom].in_jobid}&uid={$uid}&id={$invlist[custom].in_resumeid}&re=1')">Resend</a>
			{/if}
			{/if}</td>
		       <td>
		       <input type="radio" name="jid" value="{$invlist[custom].in_jobid}|{$invlist[custom].in_resumeid}" {if $invlist[custom].in_status neq 1} disabled{/if}/></td>
              </tr>
	      {sectionelse}
               <tr  class="hotline {cycle values="odd,even"}">
                <td colspan="9"><font color=red>No data was found for selected field(s).</font></td>
               </tr>
	      {/section}
          </table>
        {$page} 
</form></div>
<div class="clear"></div>
<br />